package com.xu.resultenum;

import lombok.Getter;

/**
 * @author 徐老板
 * @date 2020/3/30   23:30
 */
@Getter
public enum RCode {
    //成功
    SUCCESS(0),
    ERROR(1),
    NOTFOUND(404)
    ;

    private Integer code;

    RCode(Integer code) {
        this.code = code;
    }
}
